﻿<UserControl xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    x:Class="Silverlight.OutlookBar.TestClient.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:my="clr-namespace:Silverlight.OutlookBar;assembly=Silverlight.OutlookBar">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <my:OutlookBar HorizontalAlignment="Left" Name="outlookBar1" VerticalAlignment="Stretch" Width="200">
            <my:OutlookBarButton Header="Home" HeaderImage="/Silverlight.OutlookBar.TestClient;component/Images/Home.png">
                <StackPanel>
                    <TextBlock Text="This is the Home content"/>
                    <sdk:Calendar />
                </StackPanel>
            </my:OutlookBarButton>
            <my:OutlookBarButton Header="Contacts" HeaderImage="/Silverlight.OutlookBar.TestClient;component/Images/Persons.png">
                <ListBox>
                    <ListBoxItem Content="Andrew Adams" />
                    <ListBoxItem Content="Betty Bates" />
                    <ListBoxItem Content="Conrad Cains" />
                    <ListBoxItem Content="Dorothy Davies" />
                </ListBox>
            </my:OutlookBarButton>
            <my:OutlookBarButton Header="Settings" HeaderImage="/Silverlight.OutlookBar.TestClient;component/Images/Settings.png">
                <TextBlock Text="This is the settings content" />
            </my:OutlookBarButton>
        </my:OutlookBar>
    </Grid>
</UserControl>
